<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <p>1次</p>
    <p>加了个2次</p>
    <div id="fei">
      <p>{{xxx}}</p>
      <p>{{yyy}}</p>
      <input type="text" :value="xxx" /><br />
      <input type="text" v-model:value="yyy" /><br />
      <input type="text" v-model:value="yyy" /><br />
      <button v-on:click="onNihao">按钮</button>
      <button @click="onshijie">按钮</button>
    </div>
    <script src="../vue.js"></script>
    <script>
      new Vue({
        el: "#fei",
        data: {
          xxx: "Hello world",
          yyy: "你好世界",
        },
        methods: {
          onNihao() {
            console.log("百度云盘");
          },
          onshijie() {
            console.log("fengle");
          },
        },
      });
    </script>
  </body>
</html>
